package com.fauks.ssm.spring.bean;

public class Person {
    private String name;

    public Person() {
        System.out.println("执行Person构造方法");
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
        System.out.println("person属性设置：" + name);
    }

    public void init() {
        System.out.println("为bean指定初始化方法");
    }

    public void personDestory() {
        System.out.println("为bean指定销毁方法");
    }
}
